<?php
    
    namespace App\Module\Api\Validator;
    use App\System\Base\Validator\BaseValidator;

    /**
     * 定义验证器类
     * @author huwei
     */
    class UserUpdatePayPasswordValidator extends BaseValidator
    {
        protected $rules = [
            'q.payPassword' => 'required|min:6',
            'q.smsKey' => 'required|integer'
        ];
        
        protected $messages = [

        ];

        protected $attributes = [
            'q.payPassword'=>'支付密码',
            'q.smsKey' => '验证码ID'

        ];
    }